<%@ include file="/html/bjp/seekersprofile/init.jsp" %>

<%	
	long userId = PortalUtil.getUserId(request);
	Profile profile = (Profile) request.getAttribute("PROFILE");
	String add_url = PortletURLUtil.getCurrent(renderRequest, renderResponse).toString();
	ps.setAttribute("back_url",add_url);
	
%>

<liferay-portlet:renderURL var="url" windowState="<%= WindowState.NORMAL.toString() %>" portletName="seekersprofile">
	<portlet:param name="struts_action" value="/bjp/seekersprofile/manage" />
</liferay-portlet:renderURL>


<c:choose>
	<c:when test="<%= profile != null %>">	
				
     		<table width="100%" class="bjp-table">
				<tr class="portlet-section-body results-row">
					<td width="30%">
						First Name:
					</td>
					<td width="30%">
						<%=profile.getFirstName() %>
					</td>
				</tr>
				<tr class="portlet-section-body results-row alt">
					<td width="30%">
						Last Name:
					</td>
					<td width="30%">
						<%=profile.getLastName() %>
					</td>
				</tr>
				
			</table>	
	</c:when>
	
</c:choose>	
<a href="<%= url %>&<%=Constants.CMD%>=<%= Constants.VIEW %>&profileId=<%= String.valueOf(profile.getProfileId())%>"> View &raquo;</a>
<a href="<%= url %>&<%= Constants.CMD %>=<%= Constants.EDIT %>&profileId=<%= String.valueOf(profile.getProfileId())%>"> Edit &raquo;</a><br/>
					
